AMax.ConCommands = {}
AMax.Commands = {}
function AMax:AddConCommand(Command, Callback, Category, Desc, AuthLevel)
local Com = {}
	Com.C = Command
	Com.F = Callback
	Com.G = Category
	Com.D = Desc
	Com.A = AuthLevel
	table.insert(AMax.ConCommands, Com)
end

function AMax:AddChatCommand(Command, ConCommand)
local Com = {}
	Com.C = Command
	Com.CC = ConCommand
	table.insert(AMax.Commands, Com)
end

function AMax:FindPlayer(information)
local Results = 0
		for k,v in pairs(player.GetAll()) do
			if string.find(string.lower(v:Nick()), string.lower(information.i)) then
				Results = Results + 1
				FoundPlayer = v
			elseif v:SteamID() == information.i then
				FoundPlayer = v
			elseif v:UniqueID() == information.t then
				FoundPlayer = v
			elseif v:IPAddress() == information.i then
				FoundPlayer = v
			end
		end
end

function AMax:Notify(ply, str)
	ply:ChatPrint("Notification: ".. str .."\n")
	Msg("Notification: ".. str .."\n")
end